<?php
//here will be style functions for admin panel
// it's cutted xstyle


function main_category_start($category){
// this return styled main category in main menu
return '<p>'.
'<table cellspacing="0" cellpadding="0" border="0" width="100%" align="center" class="user"><tr height="40px" class="category"><td  align="center">'.
'<h1>'.$category['name'].' <a href="'.$site_url.'/forum/admin/remove.php?authkey='.$_GET['authkey'].'&top=3&uid='.$category['uid'].'">Delete</a>'."</h1></td></tr><br />";
}

function main_sub($category){
// this return styled sub category in main forum 
return '<tr height="40px"><td align="center"><h2> <a href="'.$site_url.'/forum/?category='.$category['uid'].'&authkey='.$_GET['authkey'].'">'.$category['name'].'</a>  <a href="'.$site_url.'/forum/admin/remove.php?authkey='.$_GET['authkey'].'&top=2&uid='.$category['uid'].'">Delete</a></h2></td></tr>';
}

function main_category_end($category){
// this return styled main category in main menu
return '</table></p><br />';
}


function admins($text){



return '<table align="right" class="admin">
 <tr>
  <td align="center">
    '.$text.'
  </td>
 </tr>
</table>';
}

?>